import { GetterTree } from 'vuex'

const getters: GetterTree<any, any> = {
  userInfo: state => state.userStore,
  asyncRoutes: state => state.routerStore.asyncRoutes,
  routes: state => state.routerStore.routes,
  setting: state => state.settingStore,
}

export default getters
